﻿<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
		<META HTTP-EQUIV="Expires" CONTENT="0">
		<title><s:text name="title" /></title>
	</head>
	<body>
		<s:actionerror />
		<s:fielderror />
		<table>
			<s:form action="register" namespace="/login">
				<tr>
					<td width="40%" align="right">
						<s:text name="userName" />
					</td>
					<td width="60%" align="left">
						<s:textfield name="userName" maxlength="20" />
					</td>
				</tr>
				<tr>
					<td align="right">
						<s:text name="password" />
					</td>
					<td>
						<s:password name="password" maxlength="20" size="21"/>
					</td>
				</tr>
				<tr>
					<td align="right">
						<s:text name="realName" />
					</td>
					<td>
						<s:textfield name="realName" maxlength="20" />
					</td>
				</tr>
				<tr>
					<td align="right">
						<s:text name="idCard" />
					</td>
					<td>
						<s:textfield name="idCard" maxlength="18" />
					</td>
				</tr>
				<tr>
					<td align="right"></td>
					<td>
						<s:submit key="register" />
						<input type="button" name="login" value="<s:text name='login'/>"
							onclick="location.href='./login.jsp';">
					</td>
				</tr>
			</s:form>
		</table>
	</body>
</html>
